home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 3863 / 3863.xpi / chrome / imacros.jar / content / runwarning.xul < prev    next >
Extensible Markup Language  |  2008-07-04  |  2KB  |  44 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  3. <?xml-stylesheet href="chrome://imacros/skin/imacros.css" type="text/css"?>
  4.  
  5. <!DOCTYPE dialog SYSTEM "chrome://imacros/locale/labels.dtd">
  6.  
  7. <dialog id="runwarning_window" title="iMacros warning"
  8.     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  9.         buttons="accept, cancel, disclosure"
  10.         buttonlabeldisclosure="Inspect source code"
  11.         buttonlabelaccept="Allow"
  12.         buttonlabelcancel="Block"
  13.         ondialogaccept="onAllow();"
  14.         ondialogcancel="onBlock();"
  15.         ondialogdisclosure="onDisclosure();">
  16.  
  17.   <script type="application/x-javascript"
  18.           src="chrome://imacros/content/utils.js" />
  19.   <script type="application/x-javascript"
  20.           src="chrome://imacros/content/runwarning.js"/>
  21.   <vbox>
  22.     <groupbox>
  23.       <stack>
  24.       <description id="warning-description"
  25.                    maxwidth="400"
  26.                    style="padding-left: 40px">
  27.         You are about to run an embedded {{macro}} file from {{origin}}.
  28.       </description>
  29.       <hbox align="center">
  30.         <image id="warning-image"/>        
  31.       </hbox>
  32.       </stack>
  33.       <hbox pack="center" >
  34.         <label id="warning-question"
  35.                style="font-weight: bold"
  36.                value="Do you want to run the {{macro}}?"/>
  37.       </hbox>
  38.     </groupbox>
  39.     <checkbox id="set-default-action"
  40.               label="Always perform the chosen action for the code from {{origin}}"
  41.               checked="false" />
  42.   </vbox>
  43. </dialog>
  44.